import { BirefApiService } from './../../api/biref-api.service';
import { PhaseTaskTreeResolverService } from './phase-task-tree-resolver.service';
import { PhasedTaskApiService } from './../../api/phased-task-api.service';
import { PhaseTaskDetailResolverService } from './phase-task-detail-resolver.service';
import { NgModule } from '@angular/core';
import { CommonModule } from '@angular/common';
import { ReactiveFormsModule, FormsModule } from '@angular/forms';
import { CommonUtilModule } from '../../common-util/common-util.module';

import { PhaseTaskRoutingModule } from './phase-task-routing.module';

import { PhaseTaskOverviewComponent } from './phase-task-overview/phase-task-overview.component';

import { NzFormModule } from 'ng-zorro-antd/form';
import { NzInputModule } from 'ng-zorro-antd/input';
import { NzSelectModule } from 'ng-zorro-antd/select';
import { NzDatePickerModule } from 'ng-zorro-antd/date-picker';
import { NzButtonModule } from 'ng-zorro-antd/button';
import { NzTableModule } from 'ng-zorro-antd/table';
import { NzModalModule } from 'ng-zorro-antd/modal';
import { NzTreeSelectModule } from 'ng-zorro-antd/tree-select';
import { NzTagModule } from 'ng-zorro-antd/tag';
import { NzMessageModule } from 'ng-zorro-antd/message';
import { NzPopconfirmModule } from 'ng-zorro-antd/popconfirm';
import { PhaseTaskDetailComponent } from './phase-task-detail/phase-task-detail.component';
import { NzTreeModule } from 'ng-zorro-antd/tree';
import { NzStatisticModule } from 'ng-zorro-antd/statistic';
import { PhaseTaskAdderComponent } from './phase-task-adder/phase-task-adder.component';
import { NzListModule } from 'ng-zorro-antd/list';
import { NzIconModule } from 'ng-zorro-antd/icon';
import { PhaseTaskAddPageComponent } from './phase-task-add-page/phase-task-add-page.component';

@NgModule({
  declarations: [PhaseTaskOverviewComponent, PhaseTaskDetailComponent, PhaseTaskAdderComponent, PhaseTaskAddPageComponent],
  imports: [
    CommonModule,
    ReactiveFormsModule,
    FormsModule,
    PhaseTaskRoutingModule,
    NzFormModule,
    NzInputModule,
    NzSelectModule,
    NzDatePickerModule,
    NzButtonModule,
    NzTableModule,
    NzModalModule,
    NzTreeSelectModule,
    NzTagModule,
    NzMessageModule,
    CommonUtilModule,
    NzPopconfirmModule,
    NzTreeModule,
    NzStatisticModule,
    NzListModule,
    NzIconModule
  ],
  providers: [
    PhasedTaskApiService,
    PhaseTaskDetailResolverService,
    PhaseTaskTreeResolverService,
    BirefApiService,
  ]
})
export class PhaseTaskModule { }
